/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.buzz.sign.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.modules.adjunctFile.entity.AdjunctFile;
import com.jeeplus.modules.basedata.jiaoshiguanli.entity.Jiaoshiguanli;
import com.jeeplus.modules.sys.entity.Office;
import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.modules.sys.entity.User;

/**
 * 签到登记Entity
 * @author 陈
 * @version 2025-07-06
 */
public class Sign extends DataEntity<Sign> {

	private static final long serialVersionUID = 1L;
	private Date 			begindate;		// 签到日期
	private User			reguser;		// 登记人
	private Jiaoshiguanli 	room;			// 教室名称
	private Date 			enddate;		// 签退时间
	private String 			classid;		// classid
	private String 			IsOwn;			// IsOwn
	private Office 			company;		// company
	private User			dl;				// 登记人
	private List<Signentry> signentryList = Lists.newArrayList();		// 子表列表
	private List<AdjunctFile> adjunctFileList = Lists.newArrayList();		// 附件列表


	public Sign() {
		super();
	}

	public Sign(String id){
		super(id);
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="签到日期", align=2, sort=7)
	public Date getBegindate() {
		return begindate;
	}

	public void setBegindate(Date begindate) {
		this.begindate = begindate;
	}

	@ExcelField(title="登记人", align=2, sort=8)
	public User getReguser() {
		return reguser;
	}

	public void setReguser(User reguser) {
		this.reguser = reguser;
	}

	@ExcelField(title="教室名称", align=2, sort=9)
	public Jiaoshiguanli getRoom() {
		return room;
	}

	public void setRoom(Jiaoshiguanli room) {
		this.room = room;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="签退时间", align=2, sort=10)
	public Date getEnddate() {
		return enddate;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}

	@ExcelField(title="classid", align=2, sort=11)
	public String getClassid() {
		return classid;
	}

	public void setClassid(String classid) {
		this.classid = classid;
	}

	@ExcelField(title="company", align=2, sort=12)
	public Office getCompany() {
		return company;
	}

	public void setCompany(Office company) {
		this.company = company;
	}

	public String getIsOwn() {
		return IsOwn;
	}

	public void setIsOwn(String isOwn) {
		IsOwn = isOwn;
	}

	public User getDl() {
		return dl;
	}

	public void setDl(User dl) {
		this.dl = dl;
	}

	public List<Signentry> getSignentryList() {
		return signentryList;
	}

	public void setSignentryList(List<Signentry> signentryList) {
		this.signentryList = signentryList;
	}

	public List<AdjunctFile> getAdjunctFileList() {
		return adjunctFileList;
	}

	public void setAdjunctFileList(List<AdjunctFile> adjunctFileList) {
		this.adjunctFileList = adjunctFileList;
	}
}
